<html>
   <head>
   <link type="text/css" rel="stylesheet" href="/admin.css">
   </head>
   <body>
   <table><tr>
   <td>Id</td>
   <td>SignId</td>
   <td>Language</td>
   <td>Name</td>
   <td>Period</td>
   <td>&nbsp;</td>
   </tr>
   <g:form name="addSignForm" url="[controller:'admin',action:'addSign']">
   	   <tr>
       <td>&nbsp;</td>
       <td><g:textField name="signId" value="${signId}" /></td>
       <td><g:select    name="language" from="${['ENG', 'GER', 'SWE', 'ESP']}" /></td>
       <td><g:textField name="name" value="${name}" /></td>
       <td><g:textField name="period" value="${period}" /></td>
       <td><g:actionSubmit value="Add" action="addSign"/></td>
       </tr>
       <tr bgcolor="#EEEEEE">
       <td>&nbsp;</td>
       <td colspan="5"><g:textArea cols="50" name="description" wrap="virtual" value="${description}" /></td>
       </td>
       </tr>
   </g:form>
   <g:each in="${signs}" var="num">
   	   <tr>
   	   <td>${num.id}</td>
       <td>${num.signId}</td>
       <td>${num.language}</td>
       <td>${num.name}</td>
       <td>${num.period}</td>
       <td>
       		<g:form name="updateSignForm_${num.id}" url="[controller:'admin',action:'editSign']">
       			<g:hiddenField name="id" value="${num.id}" />
       			<g:actionSubmit value="Edit" action="editSign"/>
       			<g:actionSubmit value="Delete" onclick="return confirm('Are you sure?')" action="deleteSign"/>
       		</g:form>
       </td>
       </tr>
       <tr bgcolor="#EEEEEE">
   		<td>&nbsp;</td>
   		<td colspan="4">${num.descr2}</td>
   		<td>&nbsp;</td>
   	   </tr>
   </g:each>
   </table>
   </body>
</html>